. $HOME/anaconda3/bin/activate && conda activate $HOME/anaconda3/envs/fps

# 获取当前脚本的完整路径
SCRIPT_PATH=$(readlink -f "$0")

# 获取当前脚本所在的目录
SCRIPT_DIR=$(dirname "$SCRIPT_PATH")

echo "当前脚本的目录路径是: $SCRIPT_DIR"

cd $SCRIPT_DIR/..

source $HOME/anaconda3/bin/activate && conda activate fps

export USE_UNO=false
export DYLD_FALLBACK_LIBRARY_PATH=/opt/homebrew/lib:$DYLD_FALLBACK_LIBRARY_PATH
uvicorn app:app --reload --host=0.0.0.0 --port=9999